package com.whz.workmanageol.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table
public class Student implements Serializable {
    @Id
    private String id;
    @Column
    private String studentid;
    @Column
    private String username;
    @Column
    private String password;
    @Column
    private String gradeid;
    @Column
    private String tel;
    @Column
    private String email;
    @Column
    private String adminid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStudentid() {
        return studentid;
    }

    public void setStudentid(String studentid) {
        this.studentid = studentid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGradeid() {
        return gradeid;
    }

    public void setGradeid(String gradeid) {
        this.gradeid = gradeid;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAdminid() {
        return adminid;
    }

    public void setAdminid(String adminid) {
        this.adminid = adminid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", studentid='" + studentid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gradeid='" + gradeid + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", adminid='" + adminid + '\'' +
                '}';
    }
}
